const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
	transpileDependencies: true,
	lintOnSave: false,
	devServer: {
		port: 8081,
		proxy: {
			[process.env.VUE_APP_BASE_API]: {
				target: 'http://localhost:8080',
				ws: false,
				changeOrigin: true,
				logLevel: 'debug',
				// pathRewrite: {
				// 	['^' + process.env.VUE_APP_BASE_API]: ''
				// }
			}
		},
	}
})
